.search-page {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Search header styles */
.search-header {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.back-button {
  font-size: 24px;
  margin-right: 8px;
  cursor: pointer;
  color: #333;
}

.home-button {
  font-size: 14px;
  margin-right: 8px;
  padding: 4px 10px;
  background-color: #f44336;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input-container {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border-radius: 20px;
  border: none;
  background-color: #f1f1f1;
  font-size: 14px;
  color: #333;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px;
}

.clear-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

.search-button {
  padding: 0 12px;
  color: #f44336;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

/* Search content styles */
.search-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 16px;
}

/* Search section styles */
.search-section {
  margin-top: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-header h3 {
  font-size: 16px;
  color: #333;
  margin: 0;
  font-weight: 500;
}

.clear-history {
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

/* Keyword list styles */
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-item {
  background-color: #f5f5f5;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hot-label {
  background-color: #f44336;
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  margin-right: 4px;
}

/* History list styles */
.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.history-icon {
  margin-right: 10px;
  color: #999;
  font-size: 16px;
}

/* Tabs styles */
.search-tabs {
  display: flex;
  border-bottom: 1px solid #f1f1f1;
  margin-top: 10px;
  position: sticky;
  top: 58px;
  background-color: #fff;
  z-index: 5;
}

.tab {
  padding: 12px 0;
  margin-right: 24px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: relative;
}

.tab.active {
  color: #f44336;
  font-weight: 500;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f44336;
}

/* Results styles */
.search-results {
  padding-top: 10px;
}

.result-section {
  margin-bottom: 20px;
}

.result-section h3 {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 12px 0;
}

/* User results styles */
.user-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.user-result-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.user-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.user-followers {
  font-size: 12px;
  color: #999;
}

.follow-btn {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  border: none;
  background-color: #f44336;
  color: white;
  cursor: pointer;
  white-space: nowrap;
}

.follow-btn.following {
  background-color: #f1f1f1;
  color: #666;
}

/* Live results styles */
.live-results {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 5px 0;
}

.live-result-item {
  flex: 0 0 160px;
  border-radius: 8px;
}

/* Video results styles */
.video-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.video-result-item {
  border-radius: 8px;
}

/* No results styles */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
}

.no-results-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: #999;
}

.no-results-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.no-results-tips {
  font-size: 14px;
  color: #999;
  max-width: 250px;
} 